#ifndef FILESYSTEM_H
#define FILESYSTEM_H

#include <string>
#include "..\Data\data.h"
//#include "..\Data\data2.h"
#include "..\Controller\controller.h"
using namespace std;
class FileSystem
{
public:
 FileSystem();

 ~FileSystem();

 void writeFile(string _fname);  // Write .dat
 void writeFile2(string _fname); // Write .csv
 void readFile(string _fname);

private:

 bool testecat;

 void getlocal(string &loc, string &com, string line);
 void readeqcfile(const char *newfname, int _num);
 void readeqcfile2(const char *newfname, int _num);
 void readeqcfile3(const char *newfname, int _num);
 int position(int a, const char ( &s )[500]);

 
};









#endif